<template>
  <van-tabbar v-model="path" @change="$emit('change', path)">
    <van-tabbar-item name="/trend" icon="flag-o">风向标</van-tabbar-item>
    <van-tabbar-item name="/signal" icon="passed">开仓</van-tabbar-item>
    <van-tabbar-item name="/closed" icon="close">平仓</van-tabbar-item>
    <van-tabbar-item name="/whole" icon="star-o">全景</van-tabbar-item>
    <van-tabbar-item name="/mine" icon="user-o">我的</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  props: {
    path: String
  }
}
</script>
